﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Entities;
using Context;
namespace WCF_ListenMusic.Services.Module_Album.Public
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IAlbumService" in both code and config file together.
    [ServiceContract]
    public interface IAlbumService
    {
        [OperationContract]
        List<View_BXH_Album> getBXH_Album();
        [OperationContract]
        List<Album> getAllAlbum();
        [OperationContract]
        Album getAlbum_byID(int albumid);
        [OperationContract]
        List<Album> getAllAlbum_bySingerID(int singerid);
        [OperationContract]
        List<AlbumSinger> getAlbum_byCategoryid(int categoryid);
        [OperationContract]
        List<AlbumSinger> getAllAlbumSinger_bySingerID(int singerid);
        [OperationContract]
        List<AlbumSinger> getAllAlbumSinger_bySingerName(string singerName);
        [OperationContract]
        List<View8_Random_Album> get8Random_Album();
        [OperationContract]
        List<AlbumSinger> getAllAlbum_byAlbumName(string albumName);
        [OperationContract]
        List<AlbumSinger> get5New_album();
        [OperationContract]
        List<CountryAlbum> getRangeAlbum_byCountryID(int countryid);
        [OperationContract]
        bool updateCountView(int albumid);
        [OperationContract]
        int countAlbum_byCategoryid(int categoryid);
    }
}
